<template>
  <BackgroundArea></BackgroundArea>
  <div class="edit-article">
    <EditorArea :weblogId="weblogId"></EditorArea>
  </div>
</template>

<script setup>
  import BackgroundArea from "../../components/background-area/index.vue"
  import EditorArea from "../../components/editor-area/index.vue"
  import { useRoute } from "vue-router"
  // 页面数据
  const route = useRoute()
  const { weblogId } = route.params
</script>

<style scoped>
  .edit-article {
    position: fixed;
    width: 1200px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
</style>